package com.hzncc.flowable_diboot.excel.model;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.lang.Double;
import java.math.BigDecimal;

import com.alibaba.excel.enums.BooleanEnum;
import com.alibaba.excel.annotation.write.style.ContentStyle;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.diboot.core.util.D;
import com.diboot.core.util.V;
import com.diboot.core.data.copy.Accept;
import com.diboot.file.excel.BaseExcelModel;
import com.hzncc.flowable_diboot.entity.contractmanage.ForeignCollection;
import lombok.Getter;
import lombok.Setter;
import jakarta.validation.constraints.NotNull;

/**
* 收汇管理 导出model定义
*
* @author MyName
* @version 1.0
* @date 2025-01-07
 * Copyright © MyCorp
*/
@Getter
@Setter
@ExcelIgnoreUnannotated
public class ForeignCollectionExportModel extends BaseExcelModel {

    /**
    * 租户
    */
    @ExcelProperty(value = "租户")
    private String tenantIdLabel;
    /**
    * 收汇时间
    */
    @DateTimeFormat(D.FORMAT_DATE_Y4MD)
    @ExcelProperty(value = "收汇时间")
    private LocalDate collectionTime;

    /**
    * 收汇金额
    */
    @ExcelProperty(value = "收汇金额")
    private BigDecimal collectionAmount;

    /**
    * 单位
    */
    @ExcelProperty(value = "单位")
    private String company;

    /**
    * 收汇附件
    */
    @ExcelProperty(value = "收汇附件")
    private String collectionFile;

    /**
    * 币种
    */
    @Accept(name = "currencyLabel.label")
    @ExcelProperty(value = "币种")
    private String currencyLabel;
    /**
    * 汇率
    */
    @ExcelProperty(value = "汇率")
    private String exchangeRate;

    /**
    * 备注
    */
    @ExcelProperty(value = "备注")
    private String remark;

}